var wtage_female_3rd = [
    [36.5, 25.05413018],
    [37.5, 25.29379901],
    [38.5, 25.53539228],
    [39.5, 25.77923355],
    [40.5, 26.02559223],
    [41.5, 26.274681],
    [42.5, 26.5266648],
    [43.5, 26.78166399],
    [44.5, 27.03975866],
    [45.5, 27.30099255],
    [46.5, 27.56537685],
    [47.5, 27.83289375],
    [48.5, 28.10349995],
    [49.5, 28.37712748],
    [50.5, 28.65369584],
    [51.5, 28.9331022],
    [52.5, 29.2152322],
    [53.5, 29.49996064],
    [54.5, 29.78715403],
    [55.5, 30.0766728],
    [56.5, 30.36837351],
    [57.5, 30.66211082],
    [58.5, 30.95773949],
    [59.5, 31.25511594],
    [60.5, 31.55409996],
    [61.5, 31.85455445],
    [62.5, 32.15635293],
    [63.5, 32.45937202],
    [64.5, 32.76349795],
    [65.5, 33.06862627],
    [66.5, 33.37466266],
    [67.5, 33.68152344],
    [68.5, 33.98913694],
    [69.5, 34.29744274],
    [70.5, 34.60639259],
    [71.5, 34.9159523],
    [72.5, 35.22609867],
    [73.5, 35.53682246],
    [74.5, 35.84812724],
    [75.5, 36.16002872],
    [76.5, 36.47255608],
    [77.5, 36.78575243],
    [78.5, 37.09967169],
    [79.5, 37.41437858],
    [80.5, 37.72995316],
    [81.5, 38.04648408],
    [82.5, 38.36407161],
    [83.5, 38.68282649],
    [84.5, 39.00286925],
    [85.5, 39.32432992],
    [86.5, 39.64735064],
    [87.5, 39.97206941],
    [88.5, 40.29865116],
    [89.5, 40.62724796],
    [90.5, 40.95803037],
    [91.5, 41.29117067],
    [92.5, 41.62684643],
    [93.5, 41.96523976],
    [94.5, 42.30653684],
    [95.5, 42.65092187],
    [96.5, 42.99858325],
    [97.5, 43.34971359],
    [98.5, 43.70450198],
    [99.5, 44.06313877],
    [100.5, 44.42581363],
    [101.5, 44.79271408],
    [102.5, 45.16402526],
    [103.5, 45.53992916],
    [104.5, 45.92060396],
    [105.5, 46.30622339],
    [106.5, 46.69695604],
    [107.5, 47.09296475],
    [108.5, 47.49440599],
    [109.5, 47.90142916],
    [110.5, 48.31417611],
    [111.5, 48.73278056],
    [112.5, 49.15736742],
    [113.5, 49.5880524],
    [114.5, 50.02494145],
    [115.5, 50.46813017],
    [116.5, 50.91770352],
    [117.5, 51.37373518],
    [118.5, 51.83628732],
    [119.5, 52.30541001],
    [120.5, 52.78114103],
    [121.5, 53.26350533],
    [122.5, 53.75251488],
    [123.5, 54.24816833],
    [124.5, 54.75045063],
    [125.5, 55.25933301],
    [126.5, 55.77477255],
    [127.5, 56.29670748],
    [128.5, 56.82507752],
    [129.5, 57.35978996],
    [130.5, 57.90074649],
    [131.5, 58.44782519],
    [132.5, 59.00090308],
    [133.5, 59.55983352],
    [134.5, 60.12445758],
    [135.5, 60.69460188],
    [136.5, 61.27007861],
    [137.5, 61.8506858],
    [138.5, 62.43620739],
    [139.5, 63.02641701],
    [140.5, 63.62106056],
    [141.5, 64.21989178],
    [142.5, 64.82263724],
    [143.5, 65.42901438],
    [144.5, 66.03872829],
    [145.5, 66.65147232],
    [146.5, 67.26692839],
    [147.5, 67.88476761],
    [148.5, 68.50464929],
    [149.5, 69.12622836],
    [150.5, 69.7491392],
    [151.5, 70.37302265],
    [152.5, 70.99749738],
    [153.5, 71.62218175],
    [154.5, 72.24668691],
    [155.5, 72.87061753],
    [156.5, 73.493572],
    [157.5, 74.11514141],
    [158.5, 74.73492213],
    [159.5, 75.3524996],
    [160.5, 75.96745948],
    [161.5, 76.57938609],
    [162.5, 77.18786337],
    [163.5, 77.79247573],
    [164.5, 78.39280893],
    [165.5, 78.98845106],
    [166.5, 79.57899345],
    [167.5, 80.1640316],
    [168.5, 80.74316613],
    [169.5, 81.31600387],
    [170.5, 81.88215871],
    [171.5, 82.44125263],
    [172.5, 82.99291055],
    [173.5, 83.53678463],
    [174.5, 84.07252238],
    [175.5, 84.59978831],
    [176.5, 85.11826002],
    [177.5, 85.62762925],
    [178.5, 86.12760281],
    [179.5, 86.61790357],
    [180.5, 87.09827144],
    [181.5, 87.56846419],
    [182.5, 88.02825849],
    [183.5, 88.47745064],
    [184.5, 88.91585738],
    [185.5, 89.34331672],
    [186.5, 89.75968863],
    [187.5, 90.16485562],
    [188.5, 90.55872333],
    [189.5, 90.94122105],
    [190.5, 91.31230209],
    [191.5, 91.67194403],
    [192.5, 92.02014906],
    [193.5, 92.35694391],
    [194.5, 92.68237994],
    [195.5, 92.99653295],
    [196.5, 93.29950289],
    [197.5, 93.59141356],
    [198.5, 93.87241197],
    [199.5, 94.14266767],
    [200.5, 94.40237211],
    [201.5, 94.65173749],
    [202.5, 94.89099583],
    [203.5, 95.12039772],
    [204.5, 95.34021103],
    [205.5, 95.5507194],
    [206.5, 95.75222059],
    [207.5, 95.94502489],
    [208.5, 96.12945329],
    [209.5, 96.30583536],
    [210.5, 96.47450743],
    [211.5, 96.63581862],
    [212.5, 96.79009435],
    [213.5, 96.93768658],
    [214.5, 97.0789354],
    [215.5, 97.21417556],
    [216.5, 97.34373383],
    [217.5, 97.46792605],
    [218.5, 97.58705422],
    [219.5, 97.70140329],
    [220.5, 97.81123788],
    [221.5, 97.91679878],
    [222.5, 98.01829928],
    [223.5, 98.1159212],
    [224.5, 98.20981075],
    [225.5, 98.30007405],
    [226.5, 98.38677242],
    [227.5, 98.46992525],
    [228.5, 98.54946649],
    [229.5, 98.62530979],
    [230.5, 98.6972774],
    [231.5, 98.76512347],
    [232.5, 98.82851845],
    [233.5, 98.88704492],
    [234.5, 98.94018814],
    [235.5, 98.98732752],
    [236.5, 99.02772724],
    [237.5, 99.06053687],
    [238.5, 99.08474607],
    [239.5, 99.09921954],
    [240, 99.10240608]

];
var wtage_female_5th = [
    [36.5, 25.64192134],
    [37.5, 25.89017829],
    [38.5, 26.1404548],
    [39.5, 26.39306182],
    [40.5, 26.64825559],
    [41.5, 26.90623795],
    [42.5, 27.16716367],
    [43.5, 27.43114427],
    [44.5, 27.69825232],
    [45.5, 27.96852535],
    [46.5, 28.2419698],
    [47.5, 28.51856451],
    [48.5, 28.79826426],
    [49.5, 29.08100127],
    [50.5, 29.36669463],
    [51.5, 29.65524432],
    [52.5, 29.94653952],
    [53.5, 30.24045979],
    [54.5, 30.5368776],
    [55.5, 30.83566046],
    [56.5, 31.13667308],
    [57.5, 31.43977925],
    [58.5, 31.7448437],
    [59.5, 32.05173369],
    [60.5, 32.36032054],
    [61.5, 32.67047984],
    [62.5, 32.98209706],
    [63.5, 33.29506244],
    [64.5, 33.6092759],
    [65.5, 33.92464698],
    [66.5, 34.24109561],
    [67.5, 34.55855262],
    [68.5, 34.87696073],
    [69.5, 35.19627419],
    [70.5, 35.51645944],
    [71.5, 35.8374964],
    [72.5, 36.15937642],
    [73.5, 36.4821043],
    [74.5, 36.80569735],
    [75.5, 37.130185],
    [76.5, 37.45560955],
    [77.5, 37.7820265],
    [78.5, 38.109502],
    [79.5, 38.43811297],
    [80.5, 38.76794997],
    [81.5, 39.0991124],
    [82.5, 39.43171043],
    [83.5, 39.76586383],
    [84.5, 40.10170164],
    [85.5, 40.43936147],
    [86.5, 40.77899129],
    [87.5, 41.12073742],
    [88.5, 41.46476701],
    [89.5, 41.81123868],
    [90.5, 42.16032526],
    [91.5, 42.51220136],
    [92.5, 42.86704569],
    [93.5, 43.22504039],
    [94.5, 43.5863703],
    [95.5, 43.95121852],
    [96.5, 44.31977051],
    [97.5, 44.69221407],
    [98.5, 45.0687334],
    [99.5, 45.44951233],
    [100.5, 45.83473272],
    [101.5, 46.2245733],
    [102.5, 46.6192091],
    [103.5, 47.01881089],
    [104.5, 47.42354437],
    [105.5, 47.83356961],
    [106.5, 48.24904033],
    [107.5, 48.67010331],
    [108.5, 49.09689772],
    [109.5, 49.52955454],
    [110.5, 49.96819604],
    [111.5, 50.41293514],
    [112.5, 50.86387495],
    [113.5, 51.32110821],
    [114.5, 51.78471681],
    [115.5, 52.25477136],
    [116.5, 52.73133078],
    [117.5, 53.21444179],
    [118.5, 53.70413862],
    [119.5, 54.20044274],
    [120.5, 54.7033623],
    [121.5, 55.21289209],
    [122.5, 55.72901316],
    [123.5, 56.25169262],
    [124.5, 56.78088339],
    [125.5, 57.31652417],
    [126.5, 57.85853916],
    [127.5, 58.40683464],
    [128.5, 58.96131395],
    [129.5, 59.52185257],
    [130.5, 60.08831805],
    [131.5, 60.66055668],
    [132.5, 61.23841029],
    [133.5, 61.82169963],
    [134.5, 62.41023294],
    [135.5, 63.00380434],
    [136.5, 63.60219413],
    [137.5, 64.20516905],
    [138.5, 64.81248248],
    [139.5, 65.42387744],
    [140.5, 66.03907363],
    [141.5, 66.65779441],
    [142.5, 67.27974064],
    [143.5, 67.90460433],
    [144.5, 68.53206657],
    [145.5, 69.161798],
    [146.5, 69.79345941],
    [147.5, 70.42670232],
    [148.5, 71.06116855],
    [149.5, 71.69649575],
    [150.5, 72.33230589],
    [151.5, 72.9682254],
    [152.5, 73.60386405],
    [153.5, 74.23883166],
    [154.5, 74.8727329],
    [155.5, 75.50516842],
    [156.5, 76.13573493],
    [157.5, 76.76402485],
    [158.5, 77.3896358],
    [159.5, 78.01215891],
    [160.5, 78.63118716],
    [161.5, 79.24631462],
    [162.5, 79.85713729],
    [163.5, 80.46325399],
    [164.5, 81.06426722],
    [165.5, 81.65978407],
    [166.5, 82.24941723],
    [167.5, 82.83278568],
    [168.5, 83.40951582],
    [169.5, 83.97924223],
    [170.5, 84.54160871],
    [171.5, 85.09626913],
    [172.5, 85.64288359],
    [173.5, 86.18113706],
    [174.5, 86.7107155],
    [175.5, 87.23132207],
    [176.5, 87.74267458],
    [177.5, 88.24450622],
    [178.5, 88.73656649],
    [179.5, 89.21862193],
    [180.5, 89.69045701],
    [181.5, 90.15187485],
    [182.5, 90.60269797],
    [183.5, 91.04276896],
    [184.5, 91.47195121],
    [185.5, 91.89012943],
    [186.5, 92.29721019],
    [187.5, 92.6931225],
    [188.5, 93.07781811],
    [189.5, 93.45127198],
    [190.5, 93.8134824],
    [191.5, 94.16447124],
    [192.5, 94.50428401],
    [193.5, 94.83298988],
    [194.5, 95.15068141],
    [195.5, 95.45747446],
    [196.5, 95.75350772],
    [197.5, 96.03894227],
    [198.5, 96.31396095],
    [199.5, 96.57876763],
    [200.5, 96.83358628],
    [201.5, 97.07866005],
    [202.5, 97.31425007],
    [203.5, 97.54063422],
    [204.5, 97.7581057],
    [205.5, 97.96697143],
    [206.5, 98.16755049],
    [207.5, 98.36017231],
    [208.5, 98.54517457],
    [209.5, 98.72290142],
    [210.5, 98.89370108],
    [211.5, 99.05793016],
    [212.5, 99.21592437],
    [213.5, 99.36803721],
    [214.5, 99.51460908],
    [215.5, 99.65597171],
    [216.5, 99.79244513],
    [217.5, 99.92433453],
    [218.5, 100.0519271],
    [219.5, 100.1754882],
    [220.5, 100.2952584],
    [221.5, 100.411449],
    [222.5, 100.5242381],
    [223.5, 100.6337664],
    [224.5, 100.7401327],
    [225.5, 100.843389],
    [226.5, 100.9435351],
    [227.5, 101.0405201],
    [228.5, 101.1342056],
    [229.5, 101.2244162],
    [230.5, 101.3108812],
    [231.5, 101.3932538],
    [232.5, 101.4710933],
    [233.5, 101.5438624],
    [234.5, 101.6109178],
    [235.5, 101.6715017],
    [236.5, 101.7247325],
    [237.5, 101.7696035],
    [238.5, 101.8049464],
    [239.5, 101.829456],
    [240, 101.8371947]

];

var wtage_female_10th = [
    [36.5, 26.60368876],
    [37.5, 26.86675704],
    [38.5, 27.13200794],
    [39.5, 27.39973113],
    [40.5, 27.67016129],
    [41.5, 27.94348172],
    [42.5, 28.21983014],
    [43.5, 28.49930303],
    [44.5, 28.78195993],
    [45.5, 29.06782771],
    [46.5, 29.35690428],
    [47.5, 29.64916238],
    [48.5, 29.94455297],
    [49.5, 30.24300798],
    [50.5, 30.5444454],
    [51.5, 30.84876918],
    [52.5, 31.15587374],
    [53.5, 31.4656461],
    [54.5, 31.77796809],
    [55.5, 32.09271853],
    [56.5, 32.4097752],
    [57.5, 32.72901669],
    [58.5, 33.05032397],
    [59.5, 33.37358204],
    [60.5, 33.69868117],
    [61.5, 34.02551777],
    [62.5, 34.35399715],
    [63.5, 34.68403211],
    [64.5, 35.01554529],
    [65.5, 35.34846953],
    [66.5, 35.68274857],
    [67.5, 36.01833741],
    [68.5, 36.35520295],
    [69.5, 36.69332399],
    [70.5, 37.03269159],
    [71.5, 37.37330956],
    [72.5, 37.71519367],
    [73.5, 38.05837237],
    [74.5, 38.40288628],
    [75.5, 38.74878792],
    [76.5, 39.09614183],
    [77.5, 39.44502443],
    [78.5, 39.79552278],
    [79.5, 40.14773426],
    [80.5, 40.50176757],
    [81.5, 40.85774026],
    [82.5, 41.21577926],
    [83.5, 41.57601996],
    [84.5, 41.93860574],
    [85.5, 42.30368721],
    [86.5, 42.6714226],
    [87.5, 43.04197201],
    [88.5, 43.41550695],
    [89.5, 43.79219687],
    [90.5, 44.17221884],
    [91.5, 44.5557515],
    [92.5, 44.94297568],
    [93.5, 45.33407366],
    [94.5, 45.72922838],
    [95.5, 46.12862098],
    [96.5, 46.53243221],
    [97.5, 46.94084197],
    [98.5, 47.35402619],
    [99.5, 47.77215786],
    [100.5, 48.1954059],
    [101.5, 48.62393417],
    [102.5, 49.05790096],
    [103.5, 49.4974581],
    [104.5, 49.94275044],
    [105.5, 50.39391513],
    [106.5, 50.85108094],
    [107.5, 51.31436765],
    [108.5, 51.78388554],
    [109.5, 52.25973465],
    [110.5, 52.74200435],
    [111.5, 53.23077283],
    [112.5, 53.7261065],
    [113.5, 54.22805969],
    [114.5, 54.73667404],
    [115.5, 55.25197825],
    [116.5, 55.7739877],
    [117.5, 56.302704],
    [118.5, 56.83811481],
    [119.5, 57.38019355],
    [120.5, 57.9288992],
    [121.5, 58.48417604],
    [122.5, 59.04595356],
    [123.5, 59.61414635],
    [124.5, 60.18865393],
    [125.5, 60.76936089],
    [126.5, 61.35613669],
    [127.5, 61.94883435],
    [128.5, 62.54729699],
    [129.5, 63.15134723],
    [130.5, 63.76079587],
    [131.5, 64.37543638],
    [132.5, 64.99505232],
    [133.5, 65.61941043],
    [134.5, 66.24826441],
    [135.5, 66.88135476],
    [136.5, 67.51840891],
    [137.5, 68.1591418],
    [138.5, 68.80325626],
    [139.5, 69.45044476],
    [140.5, 70.10038354],
    [141.5, 70.75274591],
    [142.5, 71.40719005],
    [143.5, 72.06336606],
    [144.5, 72.72091517],
    [145.5, 73.3794706],
    [146.5, 74.0386581],
    [147.5, 74.69809679],
    [148.5, 75.35739933],
    [149.5, 76.01617487],
    [150.5, 76.67402455],
    [151.5, 77.3305509],
    [152.5, 77.98534869],
    [153.5, 78.63801328],
    [154.5, 79.28813851],
    [155.5, 79.93531784],
    [156.5, 80.57914487],
    [157.5, 81.21921372],
    [158.5, 81.85512375],
    [159.5, 82.48647477],
    [160.5, 83.11287145],
    [161.5, 83.73392331],
    [162.5, 84.34924566],
    [163.5, 84.95846049],
    [164.5, 85.56119728],
    [165.5, 86.15709392],
    [166.5, 86.74579758],
    [167.5, 87.32696546],
    [168.5, 87.90026577],
    [169.5, 88.46537843],
    [170.5, 89.02199592],
    [171.5, 89.56982412],
    [172.5, 90.10858069],
    [173.5, 90.63800453],
    [174.5, 91.15784436],
    [175.5, 91.66786697],
    [176.5, 92.16785618],
    [177.5, 92.65761344],
    [178.5, 93.13695855],
    [179.5, 93.60573015],
    [180.5, 94.0637863],
    [181.5, 94.51100507],
    [182.5, 94.94728496],
    [183.5, 95.37254536],
    [184.5, 95.78672693],
    [185.5, 96.18979196],
    [186.5, 96.58172471],
    [187.5, 96.96253151],
    [188.5, 97.33224103],
    [189.5, 97.69090434],
    [190.5, 98.03859494],
    [191.5, 98.37540867],
    [192.5, 98.70146363],
    [193.5, 99.01689985],
    [194.5, 99.32187907],
    [195.5, 99.61658423],
    [196.5, 99.90121898],
    [197.5, 100.1760069],
    [198.5, 100.441191],
    [199.5, 100.6970326],
    [200.5, 100.9438103],
    [201.5, 101.1818191],
    [202.5, 101.4113689],
    [203.5, 101.6327832],
    [204.5, 101.8463974],
    [205.5, 102.0525574],
    [206.5, 102.2516176],
    [207.5, 102.4439392],
    [208.5, 102.6298874],
    [209.5, 102.8098302],
    [210.5, 102.9841351],
    [211.5, 103.1531708],
    [212.5, 103.317289],
    [213.5, 103.4768452],
    [214.5, 103.6321794],
    [215.5, 103.7836171],
    [216.5, 103.9314659],
    [217.5, 104.0760124],
    [218.5, 104.2175176],
    [219.5, 104.3562135],
    [220.5, 104.4922991],
    [221.5, 104.6259353],
    [222.5, 104.7572411],
    [223.5, 104.8862879],
    [224.5, 105.013095],
    [225.5, 105.1376239],
    [226.5, 105.2597727],
    [227.5, 105.3793739],
    [228.5, 105.4961699],
    [229.5, 105.6098394],
    [230.5, 105.7199597],
    [231.5, 105.8260194],
    [232.5, 105.9273976],
    [233.5, 106.0233634],
    [234.5, 106.1130664],
    [235.5, 106.1955285],
    [236.5, 106.2696347],
    [237.5, 106.3341294],
    [238.5, 106.3875927],
    [239.5, 106.4284502],
    [240, 106.4436121]

];

var wtage_female_25th = [
    [36.5, 28.38487364],
    [37.5, 28.6779288],
    [38.5, 28.97350265],
    [39.5, 29.27184436],
    [40.5, 29.57314747],
    [41.5, 29.87755947],
    [42.5, 30.18518457],
    [43.5, 30.49608929],
    [44.5, 30.81030704],
    [45.5, 31.12784244],
    [46.5, 31.44867546],
    [47.5, 31.77276505],
    [48.5, 32.10005275],
    [49.5, 32.43046721],
    [50.5, 32.7639226],
    [51.5, 33.10032781],
    [52.5, 33.43958501],
    [53.5, 33.78159297],
    [54.5, 34.12624917],
    [55.5, 34.47345185],
    [56.5, 34.8231017],
    [57.5, 35.17510348],
    [58.5, 35.52936752],
    [59.5, 35.88581093],
    [60.5, 36.24435874],
    [61.5, 36.60494559],
    [62.5, 36.96751395],
    [63.5, 37.33201855],
    [64.5, 37.69842463],
    [65.5, 38.06670903],
    [66.5, 38.43686044],
    [67.5, 38.80887982],
    [68.5, 39.18278019],
    [69.5, 39.55858733],
    [70.5, 39.93633937],
    [71.5, 40.31608627],
    [72.5, 40.69789075],
    [73.5, 41.08182705],
    [74.5, 41.46798093],
    [75.5, 41.85644962],
    [76.5, 42.24734094],
    [77.5, 42.64077228],
    [78.5, 43.03687142],
    [79.5, 43.43577559],
    [80.5, 43.83762915],
    [81.5, 44.2425852],
    [82.5, 44.65080358],
    [83.5, 45.06245047],
    [84.5, 45.47769745],
    [85.5, 45.8967208],
    [86.5, 46.31969945],
    [87.5, 46.74681981],
    [88.5, 47.1782634],
    [89.5, 47.61422021],
    [90.5, 48.05487619],
    [91.5, 48.50041819],
    [92.5, 48.95103162],
    [93.5, 49.40689948],
    [94.5, 49.86820146],
    [95.5, 50.33511501],
    [96.5, 50.80781196],
    [97.5, 51.28645738],
    [98.5, 51.77121143],
    [99.5, 52.26222637],
    [100.5, 52.75964639],
    [101.5, 53.26360695],
    [102.5, 53.77423403],
    [103.5, 54.29164332],
    [104.5, 54.81593964],
    [105.5, 55.34721612],
    [106.5, 55.88555375],
    [107.5, 56.43102062],
    [108.5, 56.98367156],
    [109.5, 57.54354742],
    [110.5, 58.11067473],
    [111.5, 58.68506521],
    [112.5, 59.26671535],
    [113.5, 59.8556061],
    [114.5, 60.4517025],
    [115.5, 61.0549535],
    [116.5, 61.6652916],
    [117.5, 62.28263283],
    [118.5, 62.90687647],
    [119.5, 63.53790507],
    [120.5, 64.17558433],
    [121.5, 64.81976314],
    [122.5, 65.47027366],
    [123.5, 66.1269314],
    [124.5, 66.78953536],
    [125.5, 67.45786821],
    [126.5, 68.13169656],
    [127.5, 68.81077304],
    [128.5, 69.49482877],
    [129.5, 70.18358662],
    [130.5, 70.87675148],
    [131.5, 71.57401724],
    [132.5, 72.27505927],
    [133.5, 72.97954303],
    [134.5, 73.68712061],
    [135.5, 74.39743219],
    [136.5, 75.1101067],
    [137.5, 75.82476244],
    [138.5, 76.54100799],
    [139.5, 77.25844174],
    [140.5, 77.97665808],
    [141.5, 78.69523763],
    [142.5, 79.41375871],
    [143.5, 80.13179284],
    [144.5, 80.84890682],
    [145.5, 81.56466347],
    [146.5, 82.27862278],
    [147.5, 82.99034264],
    [148.5, 83.69938056],
    [149.5, 84.40529181],
    [150.5, 85.10763694],
    [151.5, 85.80597322],
    [152.5, 86.49986545],
    [153.5, 87.18888039],
    [154.5, 87.87258973],
    [155.5, 88.55057143],
    [156.5, 89.22241095],
    [157.5, 89.88770272],
    [158.5, 90.54604693],
    [159.5, 91.1970567],
    [160.5, 91.84035527],
    [161.5, 92.47557777],
    [162.5, 93.1023722],
    [163.5, 93.7204002],
    [164.5, 94.32933803],
    [165.5, 94.92887732],
    [166.5, 95.51872594],
    [167.5, 96.09860872],
    [168.5, 96.66826809],
    [169.5, 97.22746495],
    [170.5, 97.77597918],
    [171.5, 98.31361025],
    [172.5, 98.84017972],
    [173.5, 99.35552449],
    [174.5, 99.85950746],
    [175.5, 100.3520116],
    [176.5, 100.8329416],
    [177.5, 101.3022245],
    [178.5, 101.7598097],
    [179.5, 102.205669],
    [180.5, 102.6397972],
    [181.5, 103.0622118],
    [182.5, 103.4729531],
    [183.5, 103.8720843],
    [184.5, 104.2596911],
    [185.5, 104.6358819],
    [186.5, 105.0007876],
    [187.5, 105.354561],
    [188.5, 105.6973766],
    [189.5, 106.0294304],
    [190.5, 106.3509393],
    [191.5, 106.6621406],
    [192.5, 106.9632914],
    [193.5, 107.2546677],
    [194.5, 107.5365643],
    [195.5, 107.8092932],
    [196.5, 108.0731833],
    [197.5, 108.3285789],
    [198.5, 108.5758389],
    [199.5, 108.8153357],
    [200.5, 109.0474535],
    [201.5, 109.2725871],
    [202.5, 109.4911404],
    [203.5, 109.7035245],
    [204.5, 109.9101562],
    [205.5, 110.1114556],
    [206.5, 110.3078443],
    [207.5, 110.4997431],
    [208.5, 110.6875693],
    [209.5, 110.8717345],
    [210.5, 111.0526414],
    [211.5, 111.2306793],
    [212.5, 111.4062277],
    [213.5, 111.5796426],
    [214.5, 111.7512598],
    [215.5, 111.9213893],
    [216.5, 112.0903114],
    [217.5, 112.2582722],
    [218.5, 112.4254792],
    [219.5, 112.5920966],
    [220.5, 112.75824],
    [221.5, 112.9239714],
    [222.5, 113.0892939],
    [223.5, 113.2541451],
    [224.5, 113.4183922],
    [225.5, 113.581825],
    [226.5, 113.7441498],
    [227.5, 113.9049826],
    [228.5, 114.0638444],
    [229.5, 114.2201469],
    [230.5, 114.3731912],
    [231.5, 114.5221688],
    [232.5, 114.6661361],
    [233.5, 114.8040188],
    [234.5, 114.9346017],
    [235.5, 115.0565211],
    [236.5, 115.1682577],
    [237.5, 115.2681262],
    [238.5, 115.3542762],
    [239.5, 115.4246746],
    [240, 115.4532815]

];

var wtage_female_50th = [
    [36.5, 30.6703833],
    [37.5, 31.00695785],
    [38.5, 31.34657896],
    [39.5, 31.68944172],
    [40.5, 32.03568564],
    [41.5, 32.38540899],
    [42.5, 32.73866974],
    [43.5, 33.09549217],
    [44.5, 33.45587175],
    [45.5, 33.81978004],
    [46.5, 34.18716886],
    [47.5, 34.55797437],
    [48.5, 34.9321207],
    [49.5, 35.30952594],
    [50.5, 35.69009532],
    [51.5, 36.07373799],
    [52.5, 36.46036068],
    [53.5, 36.84987211],
    [54.5, 37.24218491],
    [55.5, 37.63721753],
    [56.5, 38.03489567],
    [57.5, 38.43515377],
    [58.5, 38.83793613],
    [59.5, 39.24319788],
    [60.5, 39.65090589],
    [61.5, 40.0610412],
    [62.5, 40.47359272],
    [63.5, 40.88856735],
    [64.5, 41.30598402],
    [65.5, 41.7258754],
    [66.5, 42.14828787],
    [67.5, 42.57328159],
    [68.5, 43.00092958],
    [69.5, 43.43131879],
    [70.5, 43.86454919],
    [71.5, 44.30073171],
    [72.5, 44.73999114],
    [73.5, 45.18246256],
    [74.5, 45.62829209],
    [75.5, 46.07763662],
    [76.5, 46.53066205],
    [77.5, 46.9875413],
    [78.5, 47.44845699],
    [79.5, 47.91359984],
    [80.5, 48.38316309],
    [81.5, 48.8573479],
    [82.5, 49.33635894],
    [83.5, 49.82040413],
    [84.5, 50.30969368],
    [85.5, 50.80443894],
    [86.5, 51.30484808],
    [87.5, 51.81114116],
    [88.5, 52.32351634],
    [89.5, 52.84218947],
    [90.5, 53.36735963],
    [91.5, 53.89922512],
    [92.5, 54.43797779],
    [93.5, 54.98380217],
    [94.5, 55.53687416],
    [95.5, 56.09736581],
    [96.5, 56.66543696],
    [97.5, 57.24123374],
    [98.5, 57.82489486],
    [99.5, 58.41654515],
    [100.5, 59.01629589],
    [101.5, 59.6242449],
    [102.5, 60.24047528],
    [103.5, 60.86505484],
    [104.5, 61.49803528],
    [105.5, 62.13945168],
    [106.5, 62.78932187],
    [107.5, 63.44764595],
    [108.5, 64.11440576],
    [109.5, 64.78956458],
    [110.5, 65.47306654],
    [111.5, 66.16483654],
    [112.5, 66.86477987],
    [113.5, 67.57278205],
    [114.5, 68.28870862],
    [115.5, 69.01240513],
    [116.5, 69.7436971],
    [117.5, 70.48238998],
    [118.5, 71.22826935],
    [119.5, 71.98110095],
    [120.5, 72.740631],
    [121.5, 73.50658634],
    [122.5, 74.27867484],
    [123.5, 75.05658578],
    [124.5, 75.83999023],
    [125.5, 76.62854153],
    [126.5, 77.42187589],
    [127.5, 78.21961787],
    [128.5, 79.02135947],
    [129.5, 79.82669627],
    [130.5, 80.63520003],
    [131.5, 81.446438],
    [132.5, 82.2599507],
    [133.5, 83.07527591],
    [134.5, 83.89193802],
    [135.5, 84.70945127],
    [136.5, 85.52732076],
    [137.5, 86.34504355],
    [138.5, 87.16210967],
    [139.5, 87.97799987],
    [140.5, 88.79220337],
    [141.5, 89.60418597],
    [142.5, 90.41342418],
    [143.5, 91.21938995],
    [144.5, 92.02155519],
    [145.5, 92.81939289],
    [146.5, 93.61237835],
    [147.5, 94.39999037],
    [148.5, 95.1817141],
    [149.5, 95.95703484],
    [150.5, 96.72545718],
    [151.5, 97.48647874],
    [152.5, 98.23962102],
    [153.5, 98.98440983],
    [154.5, 99.72038349],
    [155.5, 100.4470943],
    [156.5, 101.1641104],
    [157.5, 101.8710189],
    [158.5, 102.567414],
    [159.5, 103.2529169],
    [160.5, 103.9271653],
    [161.5, 104.5898173],
    [162.5, 105.2405523],
    [163.5, 105.8790718],
    [164.5, 106.5051006],
    [165.5, 107.1183875],
    [166.5, 107.7187058],
    [167.5, 108.3058546],
    [168.5, 108.879659],
    [169.5, 109.4399709],
    [170.5, 109.9866695],
    [171.5, 110.5196617],
    [172.5, 111.0388887],
    [173.5, 111.5443028],
    [174.5, 112.0359007],
    [175.5, 112.513703],
    [176.5, 112.977759],
    [177.5, 113.4281463],
    [178.5, 113.8649713],
    [179.5, 114.2883685],
    [180.5, 114.6985002],
    [181.5, 115.0955563],
    [182.5, 115.4797535],
    [183.5, 115.8513347],
    [184.5, 116.2105686],
    [185.5, 116.5577488],
    [186.5, 116.8931928],
    [187.5, 117.2172414],
    [188.5, 117.5302572],
    [189.5, 117.8326241],
    [190.5, 118.124746],
    [191.5, 118.4070453],
    [192.5, 118.679962],
    [193.5, 118.9439521],
    [194.5, 119.1994867],
    [195.5, 119.4470498],
    [196.5, 119.6871375],
    [197.5, 119.9202558],
    [198.5, 120.1469193],
    [199.5, 120.3676493],
    [200.5, 120.582972],
    [201.5, 120.7934165],
    [202.5, 120.9995126],
    [203.5, 121.2017888],
    [204.5, 121.4007698],
    [205.5, 121.5969744],
    [206.5, 121.7909123],
    [207.5, 121.9830817],
    [208.5, 122.1739664],
    [209.5, 122.3640322],
    [210.5, 122.5537242],
    [211.5, 122.7434547],
    [212.5, 122.9336318],
    [213.5, 123.1246065],
    [214.5, 123.3167012],
    [215.5, 123.5101974],
    [216.5, 123.7053304],
    [217.5, 123.9022847],
    [218.5, 124.1011883],
    [219.5, 124.3021078],
    [220.5, 124.5050424],
    [221.5, 124.7099176],
    [222.5, 124.91658],
    [223.5, 125.1247902],
    [224.5, 125.3342168],
    [225.5, 125.5444298],
    [226.5, 125.7548936],
    [227.5, 125.9649561],
    [228.5, 126.1738674],
    [229.5, 126.3807198],
    [230.5, 126.5844894],
    [231.5, 126.7840221],
    [232.5, 126.9780068],
    [233.5, 127.1649842],
    [234.5, 127.343337],
    [235.5, 127.5112841],
    [236.5, 127.6668741],
    [237.5, 127.8079706],
    [238.5, 127.9322787],
    [239.5, 128.0372971],
    [240, 128.0817404]

];

var wtage_female_75th = [
    [36.5, 33.36194943],
    [37.5, 33.75735361],
    [38.5, 34.15663258],
    [39.5, 34.55991638],
    [40.5, 34.96728052],
    [41.5, 35.37876212],
    [42.5, 35.79436084],
    [43.5, 36.21404644],
    [44.5, 36.63776411],
    [45.5, 37.06543982],
    [46.5, 37.49698495],
    [47.5, 37.93230074],
    [48.5, 38.37128205],
    [49.5, 38.81382419],
    [50.5, 39.25981437],
    [51.5, 39.70915111],
    [52.5, 40.16173632],
    [53.5, 40.61748011],
    [54.5, 41.07630265],
    [55.5, 41.53813589],
    [56.5, 42.00292496],
    [57.5, 42.47062937],
    [58.5, 42.94122391],
    [59.5, 43.41469944],
    [60.5, 43.89106339],
    [61.5, 44.37034243],
    [62.5, 44.85257418],
    [63.5, 45.33781921],
    [64.5, 45.82615332],
    [65.5, 46.31766918],
    [66.5, 46.81247595],
    [67.5, 47.31069895],
    [68.5, 47.81247812],
    [69.5, 48.31796915],
    [70.5, 48.82734179],
    [71.5, 49.34077716],
    [72.5, 49.85847104],
    [73.5, 50.38062913],
    [74.5, 50.90746775],
    [75.5, 51.43921341],
    [76.5, 51.9761002],
    [77.5, 52.51836715],
    [78.5, 53.06626164],
    [79.5, 53.62003726],
    [80.5, 54.17994633],
    [81.5, 54.74624703],
    [82.5, 55.31919758],
    [83.5, 55.899056],
    [84.5, 56.4860787],
    [85.5, 57.08051921],
    [86.5, 57.68262232],
    [87.5, 58.29264445],
    [88.5, 58.91080875],
    [89.5, 59.53735773],
    [90.5, 60.17250791],
    [91.5, 60.81647101],
    [92.5, 61.46944665],
    [93.5, 62.13162144],
    [94.5, 62.80316748],
    [95.5, 63.48424872],
    [96.5, 64.17501044],
    [97.5, 64.87557714],
    [98.5, 65.58606142],
    [99.5, 66.3065555],
    [100.5, 67.03713201],
    [101.5, 67.77784433],
    [102.5, 68.52872528],
    [103.5, 69.28978643],
    [104.5, 70.06101762],
    [105.5, 70.8423863],
    [106.5, 71.63383715],
    [107.5, 72.43529161],
    [108.5, 73.24664763],
    [109.5, 74.06777926],
    [110.5, 74.89853661],
    [111.5, 75.73874561],
    [112.5, 76.58820796],
    [113.5, 77.44670118],
    [114.5, 78.31397864],
    [115.5, 79.18976976],
    [116.5, 80.07378016],
    [117.5, 80.96569197],
    [118.5, 81.86516424],
    [119.5, 82.77183328],
    [120.5, 83.68531312],
    [121.5, 84.60519621],
    [122.5, 85.53105389],
    [123.5, 86.46243712],
    [124.5, 87.39887724],
    [125.5, 88.33988669],
    [126.5, 89.28495998],
    [127.5, 90.23358082],
    [128.5, 91.1851954],
    [129.5, 92.13925899],
    [130.5, 93.09520081],
    [131.5, 94.052449],
    [132.5, 95.01040197],
    [133.5, 95.96845949],
    [134.5, 96.92600892],
    [135.5, 97.8824295],
    [136.5, 98.83709365],
    [137.5, 99.78936834],
    [138.5, 100.7386164],
    [139.5, 101.6841935],
    [140.5, 102.6254718],
    [141.5, 103.561797],
    [142.5, 104.4925341],
    [143.5, 105.4170468],
    [144.5, 106.3347034],
    [145.5, 107.2448779],
    [146.5, 108.1469519],
    [147.5, 109.0403157],
    [148.5, 109.924372],
    [149.5, 110.7985279],
    [150.5, 111.6622189],
    [151.5, 112.5148752],
    [152.5, 113.355962],
    [153.5, 114.1849531],
    [154.5, 115.0013414],
    [155.5, 115.8046415],
    [156.5, 116.594391],
    [157.5, 117.3701548],
    [158.5, 118.1315096],
    [159.5, 118.8780691],
    [160.5, 119.6094708],
    [161.5, 120.3253805],
    [162.5, 121.0254933],
    [163.5, 121.7095347],
    [164.5, 122.3772616],
    [165.5, 123.0284634],
    [166.5, 123.6629625],
    [167.5, 124.2806154],
    [168.5, 124.8813134],
    [169.5, 125.4649831],
    [170.5, 126.0315868],
    [171.5, 126.5811232],
    [172.5, 127.1136365],
    [173.5, 127.6291831],
    [174.5, 128.1278787],
    [175.5, 128.6098691],
    [176.5, 129.0753369],
    [177.5, 129.5245006],
    [178.5, 129.9576154],
    [179.5, 130.3749715],
    [180.5, 130.7768938],
    [181.5, 131.1637416],
    [182.5, 131.5359067],
    [183.5, 131.8938132],
    [184.5, 132.2379157],
    [185.5, 132.5686982],
    [186.5, 132.8866724],
    [187.5, 133.1923766],
    [188.5, 133.4863735],
    [189.5, 133.7692485],
    [190.5, 134.041608],
    [191.5, 134.304077],
    [192.5, 134.5572973],
    [193.5, 134.8019254],
    [194.5, 135.0386297],
    [195.5, 135.2680888],
    [196.5, 135.4909884],
    [197.5, 135.7080195],
    [198.5, 135.9198751],
    [199.5, 136.1272481],
    [200.5, 136.3308283],
    [201.5, 136.5312996],
    [202.5, 136.729337],
    [203.5, 136.9256037],
    [204.5, 137.1207479],
    [205.5, 137.3153997],
    [206.5, 137.5101672],
    [207.5, 137.7056339],
    [208.5, 137.9023539],
    [209.5, 138.100849],
    [210.5, 138.3016042],
    [211.5, 138.505051],
    [212.5, 138.7116148],
    [213.5, 138.9216308],
    [214.5, 139.135394],
    [215.5, 139.3531396],
    [216.5, 139.5750385],
    [217.5, 139.8011921],
    [218.5, 140.0316267],
    [219.5, 140.2662879],
    [220.5, 140.5050356],
    [221.5, 140.7476377],
    [222.5, 140.9937651],
    [223.5, 141.2429853],
    [224.5, 141.4947574],
    [225.5, 141.7484262],
    [226.5, 142.0032169],
    [227.5, 142.2582206],
    [228.5, 142.512435],
    [229.5, 142.764669],
    [230.5, 143.0136215],
    [231.5, 143.2578497],
    [232.5, 143.4957533],
    [233.5, 143.7255819],
    [234.5, 143.9454275],
    [235.5, 144.1532218],
    [236.5, 144.3467313],
    [237.5, 144.5235401],
    [238.5, 144.6810936],
    [239.5, 144.8166317],
    [240, 144.8752355]

];

var wtage_female_90th = [
    [36.5, 36.22935703],
    [37.5, 36.69683235],
    [38.5, 37.16941325],
    [39.5, 37.64716245],
    [40.5, 38.13009103],
    [41.5, 38.6181704],
    [42.5, 39.11133701],
    [43.5, 39.60949975],
    [44.5, 40.11254606],
    [45.5, 40.62034757],
    [46.5, 41.13276541],
    [47.5, 41.64965486],
    [48.5, 42.17086969],
    [49.5, 42.69626761],
    [50.5, 43.22570756],
    [51.5, 43.7590615],
    [52.5, 44.29621161],
    [53.5, 44.83705391],
    [54.5, 45.38150027],
    [55.5, 45.92948015],
    [56.5, 46.48094185],
    [57.5, 47.03585377],
    [58.5, 47.59420514],
    [59.5, 48.15600671],
    [60.5, 48.72129099],
    [61.5, 49.2901138],
    [62.5, 49.86254929],
    [63.5, 50.43869659],
    [64.5, 51.01867509],
    [65.5, 51.60262485],
    [66.5, 52.19070595],
    [67.5, 52.78309766],
    [68.5, 53.379997],
    [69.5, 53.9816187],
    [70.5, 54.58819344],
    [71.5, 55.19996555],
    [72.5, 55.81719418],
    [73.5, 56.44014961],
    [74.5, 57.06911296],
    [75.5, 57.70437488],
    [76.5, 58.34623335],
    [77.5, 58.994991],
    [78.5, 59.65095646],
    [79.5, 60.31444223],
    [80.5, 60.98575908],
    [81.5, 61.66521973],
    [82.5, 62.35313436],
    [83.5, 63.04980975],
    [84.5, 63.75554742],
    [85.5, 64.4706423],
    [86.5, 65.19537812],
    [87.5, 65.93003974],
    [88.5, 66.6748837],
    [89.5, 67.43017153],
    [90.5, 68.1961397],
    [91.5, 68.9730129],
    [92.5, 69.76099865],
    [93.5, 70.56028632],
    [94.5, 71.37104559],
    [95.5, 72.19343019],
    [96.5, 73.02757055],
    [97.5, 73.8735723],
    [98.5, 74.73152148],
    [99.5, 75.60147892],
    [100.5, 76.48348035],
    [101.5, 77.37753652],
    [102.5, 78.28363211],
    [103.5, 79.20172526],
    [104.5, 80.13174699],
    [105.5, 81.07360085],
    [106.5, 82.02716262],
    [107.5, 82.99228003],
    [108.5, 83.96877256],
    [109.5, 84.95643147],
    [110.5, 85.9550197],
    [111.5, 86.96427199],
    [112.5, 87.98389501],
    [113.5, 89.01356763],
    [114.5, 90.05294122],
    [115.5, 91.10164006],
    [116.5, 92.15926174],
    [117.5, 93.22537778],
    [118.5, 94.29953423],
    [119.5, 95.38125227],
    [120.5, 96.47002908],
    [121.5, 97.56533862],
    [122.5, 98.66663248],
    [123.5, 99.77334085],
    [124.5, 100.8848735],
    [125.5, 102.0006211],
    [126.5, 103.1199557],
    [127.5, 104.2422365],
    [128.5, 105.3667939],
    [129.5, 106.4929582],
    [130.5, 107.6200395],
    [131.5, 108.7473432],
    [132.5, 109.874153],
    [133.5, 110.9997514],
    [134.5, 112.1234111],
    [135.5, 113.2443988],
    [136.5, 114.3619766],
    [137.5, 115.4754038],
    [138.5, 116.5839381],
    [139.5, 117.6868345],
    [140.5, 118.7833611],
    [141.5, 119.8727723],
    [142.5, 120.954339],
    [143.5, 122.0273358],
    [144.5, 123.0910452],
    [145.5, 124.14476],
    [146.5, 125.1877838],
    [147.5, 126.2194336],
    [148.5, 127.2390418],
    [149.5, 128.2459527],
    [150.5, 129.2395375],
    [151.5, 130.2191736],
    [152.5, 131.1842717],
    [153.5, 132.1342584],
    [154.5, 133.0685846],
    [155.5, 133.9867263],
    [156.5, 134.8881874],
    [157.5, 135.772502],
    [158.5, 136.6392253],
    [159.5, 137.4879501],
    [160.5, 138.3182989],
    [161.5, 139.1299272],
    [162.5, 139.9225243],
    [163.5, 140.6958149],
    [164.5, 141.4495595],
    [165.5, 142.1835558],
    [166.5, 142.8976394],
    [167.5, 143.5916844],
    [168.5, 144.2656046],
    [169.5, 144.9193538],
    [170.5, 145.5529261],
    [171.5, 146.166357],
    [172.5, 146.7597295],
    [173.5, 147.3331511],
    [174.5, 147.8867865],
    [175.5, 148.4208379],
    [176.5, 148.9355486],
    [177.5, 149.4312037],
    [178.5, 149.9081291],
    [179.5, 150.3666911],
    [180.5, 150.807296],
    [181.5, 151.2303888],
    [182.5, 151.6364526],
    [183.5, 152.0260071],
    [184.5, 152.3996073],
    [185.5, 152.7578422],
    [186.5, 153.1013329],
    [187.5, 153.4307307],
    [188.5, 153.7467151],
    [189.5, 154.0499917],
    [190.5, 154.3412896],
    [191.5, 154.6213589],
    [192.5, 154.8909682],
    [193.5, 155.1509013],
    [194.5, 155.4019547],
    [195.5, 155.6449341],
    [196.5, 155.8806512],
    [197.5, 156.1099204],
    [198.5, 156.3335551],
    [199.5, 156.5523645],
    [200.5, 156.7671493],
    [201.5, 156.9786984],
    [202.5, 157.1877847],
    [203.5, 157.3951614],
    [204.5, 157.6015578],
    [205.5, 157.8076751],
    [206.5, 158.0141826],
    [207.5, 158.221713],
    [208.5, 158.4308587],
    [209.5, 158.6421669],
    [210.5, 158.8561356],
    [211.5, 159.0731985],
    [212.5, 159.2937647],
    [213.5, 159.5181463],
    [214.5, 159.7466007],
    [215.5, 159.9793139],
    [216.5, 160.2163969],
    [217.5, 160.4578808],
    [218.5, 160.7037133],
    [219.5, 160.9537541],
    [220.5, 161.2077716],
    [221.5, 161.465439],
    [222.5, 161.7263309],
    [223.5, 161.9899197],
    [224.5, 162.2555732],
    [225.5, 162.5225514],
    [226.5, 162.7900041],
    [227.5, 163.0569599],
    [228.5, 163.3223657],
    [229.5, 163.5850063],
    [230.5, 163.8435793],
    [231.5, 164.0966496],
    [232.5, 164.3426682],
    [233.5, 164.579962],
    [234.5, 164.8067348],
    [235.5, 165.0210654],
    [236.5, 165.2209068],
    [237.5, 165.4040726],
    [238.5, 165.5682732],
    [239.5, 165.7110632],
    [240, 165.7736298]

];

var wtage_female_95th = [
    [36.5, 38.19737614],
    [37.5, 38.72012287],
    [38.5, 39.24909166],
    [39.5, 39.78430375],
    [40.5, 40.3257316],
    [41.5, 40.87330467],
    [42.5, 41.42691859],
    [43.5, 41.98644197],
    [44.5, 42.55172299],
    [45.5, 43.1225953],
    [46.5, 43.69888354],
    [47.5, 44.28040839],
    [48.5, 44.86699096],
    [49.5, 45.45845616],
    [50.5, 46.0546392],
    [51.5, 46.65538471],
    [52.5, 47.26055206],
    [53.5, 47.87001738],
    [54.5, 48.48367546],
    [55.5, 49.1014416],
    [56.5, 49.72325303],
    [57.5, 50.34907005],
    [58.5, 50.97887689],
    [59.5, 51.61268226],
    [60.5, 52.25051977],
    [61.5, 52.89244748],
    [62.5, 53.53854944],
    [63.5, 54.18893315],
    [64.5, 54.84373037],
    [65.5, 55.50309615],
    [66.5, 56.16720802],
    [67.5, 56.83626478],
    [68.5, 57.5104858],
    [69.5, 58.19010921],
    [70.5, 58.87539084],
    [71.5, 59.56660303],
    [72.5, 60.26403236],
    [73.5, 60.9679787],
    [74.5, 61.67875327],
    [75.5, 62.39667674],
    [76.5, 63.12207772],
    [77.5, 63.85529126],
    [78.5, 64.59665617],
    [79.5, 65.34651352],
    [80.5, 66.10520561],
    [81.5, 66.87307288],
    [82.5, 67.65045287],
    [83.5, 68.43767817],
    [84.5, 69.23507466],
    [85.5, 70.04295982],
    [86.5, 70.86164162],
    [87.5, 71.69141382],
    [88.5, 72.5325605],
    [89.5, 73.38534687],
    [90.5, 74.25002413],
    [91.5, 75.12682463],
    [92.5, 76.01596158],
    [93.5, 76.91762758],
    [94.5, 77.83199347],
    [95.5, 78.75920615],
    [96.5, 79.69938878],
    [97.5, 80.65264],
    [98.5, 81.6190316],
    [99.5, 82.59860873],
    [100.5, 83.59138896],
    [101.5, 84.59736138],
    [102.5, 85.61648623],
    [103.5, 86.64869431],
    [104.5, 87.69388663],
    [105.5, 88.75193404],
    [106.5, 89.82267705],
    [107.5, 90.90592568],
    [108.5, 92.00145944],
    [109.5, 93.10902733],
    [110.5, 94.22834795],
    [111.5, 95.3591098],
    [112.5, 96.50097149],
    [113.5, 97.65356212],
    [114.5, 98.81648183],
    [115.5, 99.98930225],
    [116.5, 101.1715671],
    [117.5, 102.3627931],
    [118.5, 103.5624704],
    [119.5, 104.7700636],
    [120.5, 105.9850129],
    [121.5, 107.2067345],
    [122.5, 108.4346223],
    [123.5, 109.6680484],
    [124.5, 110.9063648],
    [125.5, 112.1489043],
    [126.5, 113.3949819],
    [127.5, 114.6438947],
    [128.5, 115.8949287],
    [129.5, 117.1473519],
    [130.5, 118.4004219],
    [131.5, 119.6533838],
    [132.5, 120.9054763],
    [133.5, 122.1559283],
    [134.5, 123.4039633],
    [135.5, 124.6488003],
    [136.5, 125.8896551],
    [137.5, 127.1257427],
    [138.5, 128.3562783],
    [139.5, 129.5804796],
    [140.5, 130.7975662],
    [141.5, 132.0067661],
    [142.5, 133.2073123],
    [143.5, 134.398447],
    [144.5, 135.579423],
    [145.5, 136.7495048],
    [146.5, 137.9079709],
    [147.5, 139.0541148],
    [148.5, 140.1872462],
    [149.5, 141.3066959],
    [150.5, 142.41181],
    [151.5, 143.5019596],
    [152.5, 144.5765372],
    [153.5, 145.6349589],
    [154.5, 146.6766677],
    [155.5, 147.7011324],
    [156.5, 148.7078498],
    [157.5, 149.6963456],
    [158.5, 150.6661774],
    [159.5, 151.6169328],
    [160.5, 152.5482321],
    [161.5, 153.4597292],
    [162.5, 154.351112],
    [163.5, 155.2221037],
    [164.5, 156.0724632],
    [165.5, 156.9019859],
    [166.5, 157.7105042],
    [167.5, 158.4978883],
    [168.5, 159.2640463],
    [169.5, 160.0089247],
    [170.5, 160.7325088],
    [171.5, 161.4348226],
    [172.5, 162.1159285],
    [173.5, 162.7759301],
    [174.5, 163.4149679],
    [175.5, 164.0332217],
    [176.5, 164.6309099],
    [177.5, 165.2082894],
    [178.5, 165.7656543],
    [179.5, 166.3033361],
    [180.5, 166.8217028],
    [181.5, 167.321158],
    [182.5, 167.80214],
    [183.5, 168.2651207],
    [184.5, 168.7106045],
    [185.5, 169.139127],
    [186.5, 169.5512535],
    [187.5, 169.947577],
    [188.5, 170.3287171],
    [189.5, 170.6953176],
    [190.5, 171.0480444],
    [191.5, 171.3875836],
    [192.5, 171.7146385],
    [193.5, 172.0299278],
    [194.5, 172.334182],
    [195.5, 172.6281414],
    [196.5, 172.9125524],
    [197.5, 173.1881644],
    [198.5, 173.4557271],
    [199.5, 173.7159863],
    [200.5, 173.9696808],
    [201.5, 174.217539],
    [202.5, 174.4602745],
    [203.5, 174.6985831],
    [204.5, 174.9331384],
    [205.5, 175.1645885],
    [206.5, 175.3935518],
    [207.5, 175.6206132],
    [208.5, 175.8463203],
    [209.5, 176.07118],
    [210.5, 176.2956544],
    [211.5, 176.5201567],
    [212.5, 176.7450505],
    [213.5, 176.9706424],
    [214.5, 177.1971814],
    [215.5, 177.4248552],
    [216.5, 177.6537877],
    [217.5, 177.884036],
    [218.5, 178.1155882],
    [219.5, 178.3483609],
    [220.5, 178.5821978],
    [221.5, 178.8168673],
    [222.5, 179.0520615],
    [223.5, 179.2873945],
    [224.5, 179.5224016],
    [225.5, 179.7565385],
    [226.5, 179.9891801],
    [227.5, 180.219618],
    [228.5, 180.4470682],
    [229.5, 180.6706614],
    [230.5, 180.889461],
    [231.5, 181.102414],
    [232.5, 181.3084171],
    [233.5, 181.5062767],
    [234.5, 181.6947183],
    [235.5, 181.8723873],
    [236.5, 182.0378489],
    [237.5, 182.1895892],
    [238.5, 182.3260147],
    [239.5, 182.4454539],
    [240, 182.4982601]

];

var wtage_female_97th = [
    [36.5, 39.59575378],
    [37.5, 40.16071882],
    [38.5, 40.73286155],
    [39.5, 41.3121779],
    [40.5, 41.89861779],
    [41.5, 42.49208432],
    [42.5, 43.09244738],
    [43.5, 43.69954972],
    [44.5, 44.31321367],
    [45.5, 44.93324737],
    [46.5, 45.55945033],
    [47.5, 46.19161862],
    [48.5, 46.82954945],
    [49.5, 47.47304208],
    [50.5, 48.12191384],
    [51.5, 48.77598607],
    [52.5, 49.43509795],
    [53.5, 50.09910642],
    [54.5, 50.76788831],
    [55.5, 51.44134226],
    [56.5, 52.11939011],
    [57.5, 52.80197809],
    [58.5, 53.48907782],
    [59.5, 54.18068682],
    [60.5, 54.87682897],
    [61.5, 55.57755212],
    [62.5, 56.28293704],
    [63.5, 56.99308446],
    [64.5, 57.70812241],
    [65.5, 58.42820375],
    [66.5, 59.15350527],
    [67.5, 59.88422638],
    [68.5, 60.62058906],
    [69.5, 61.36283468],
    [70.5, 62.11122346],
    [71.5, 62.86603492],
    [72.5, 63.62756193],
    [73.5, 64.39611292],
    [74.5, 65.17200824],
    [75.5, 65.95557784],
    [76.5, 66.74716077],
    [77.5, 67.54710486],
    [78.5, 68.35576018],
    [79.5, 69.17347774],
    [80.5, 70.00061435],
    [81.5, 70.83752174],
    [82.5, 71.68454944],
    [83.5, 72.54204177],
    [84.5, 73.41033612],
    [85.5, 74.28976102],
    [86.5, 75.18063927],
    [87.5, 76.08326308],
    [88.5, 76.99793897],
    [89.5, 77.92492858],
    [90.5, 78.86449421],
    [91.5, 79.81687347],
    [92.5, 80.78228429],
    [93.5, 81.7609234],
    [94.5, 82.75296544],
    [95.5, 83.7585538],
    [96.5, 84.7778098],
    [97.5, 85.81083271],
    [98.5, 86.85768841],
    [99.5, 87.91841672],
    [100.5, 88.99302878],
    [101.5, 90.08150538],
    [102.5, 91.18379697],
    [103.5, 92.29982313],
    [104.5, 93.42947229],
    [105.5, 94.5726014],
    [106.5, 95.72903575],
    [107.5, 96.898569],
    [108.5, 98.08096305],
    [109.5, 99.27594816],
    [110.5, 100.4832233],
    [111.5, 101.7024563],
    [112.5, 102.9332842],
    [113.5, 104.1753139],
    [114.5, 105.4281224],
    [115.5, 106.6912579],
    [116.5, 107.9642399],
    [117.5, 109.2465607],
    [118.5, 110.5376856],
    [119.5, 111.8370542],
    [120.5, 113.1440816],
    [121.5, 114.4581589],
    [122.5, 115.778655],
    [123.5, 117.1049172],
    [124.5, 118.4362731],
    [125.5, 119.7720314],
    [126.5, 121.1114835],
    [127.5, 122.4538983],
    [128.5, 123.7985528],
    [129.5, 125.1446855],
    [130.5, 126.4915365],
    [131.5, 127.8383237],
    [132.5, 129.1842752],
    [133.5, 130.5286005],
    [134.5, 131.8705075],
    [135.5, 133.2092008],
    [136.5, 134.5438837],
    [137.5, 135.8737598],
    [138.5, 137.1980348],
    [139.5, 138.5159223],
    [140.5, 139.8266242],
    [141.5, 141.1293754],
    [142.5, 142.4234023],
    [143.5, 143.7079461],
    [144.5, 144.9822604],
    [145.5, 146.2456124],
    [146.5, 147.497285],
    [147.5, 148.7365782],
    [148.5, 149.962808],
    [149.5, 151.1753206],
    [150.5, 152.3734646],
    [151.5, 153.5566338],
    [152.5, 154.724228],
    [153.5, 155.8756803],
    [154.5, 157.0104513],
    [155.5, 158.1280279],
    [156.5, 159.2279246],
    [157.5, 160.3096812],
    [158.5, 161.3728821],
    [159.5, 162.4171308],
    [160.5, 163.4420665],
    [161.5, 164.447361],
    [162.5, 165.4327195],
    [163.5, 166.3978806],
    [164.5, 167.342617],
    [165.5, 168.2667355],
    [166.5, 169.1700773],
    [167.5, 170.0525178],
    [168.5, 170.9139667],
    [169.5, 171.7543676],
    [170.5, 172.573698],
    [171.5, 173.3719688],
    [172.5, 174.149214],
    [173.5, 174.9055268],
    [174.5, 175.6410077],
    [175.5, 176.3557955],
    [176.5, 177.0500593],
    [177.5, 177.7239975],
    [178.5, 178.3778369],
    [179.5, 179.0118316],
    [180.5, 179.626262],
    [181.5, 180.2214336],
    [182.5, 180.7976758],
    [183.5, 181.355341],
    [184.5, 181.8948029],
    [185.5, 182.4164554],
    [186.5, 182.9207112],
    [187.5, 183.4080005],
    [188.5, 183.8787698],
    [189.5, 184.33348],
    [190.5, 184.7726051],
    [191.5, 185.1966312],
    [192.5, 185.6060543],
    [193.5, 186.001379],
    [194.5, 186.3831171],
    [195.5, 186.7517858],
    [196.5, 187.1079061],
    [197.5, 187.452001],
    [198.5, 187.7845941],
    [199.5, 188.1062075],
    [200.5, 188.4173603],
    [201.5, 188.7185665],
    [202.5, 189.0103336],
    [203.5, 189.2931603],
    [204.5, 189.5675349],
    [205.5, 189.8339335],
    [206.5, 190.0928178],
    [207.5, 190.3446337],
    [208.5, 190.5898089],
    [209.5, 190.8287516],
    [210.5, 191.0618483],
    [211.5, 191.2894775],
    [212.5, 191.5119453],
    [213.5, 191.7295798],
    [214.5, 191.9426638],
    [215.5, 192.1514501],
    [216.5, 192.3561598],
    [217.5, 192.5569807],
    [218.5, 192.754066],
    [219.5, 192.9475325],
    [220.5, 193.1374597],
    [221.5, 193.3238876],
    [222.5, 193.5068161],
    [223.5, 193.6862032],
    [224.5, 193.8619636],
    [225.5, 194.0339681],
    [226.5, 194.2020416],
    [227.5, 194.3659686],
    [228.5, 194.5254521],
    [229.5, 194.6802038],
    [230.5, 194.8298745],
    [231.5, 194.9740072],
    [232.5, 195.1121547],
    [233.5, 195.2438048],
    [234.5, 195.3683987],
    [235.5, 195.4853327],
    [236.5, 195.5939618],
    [237.5, 195.6936185],
    [238.5, 195.7835656],
    [239.5, 195.8630716],
    [240, 195.8986729]

];

$(function chartSetup() {
    $('#container').highcharts({
        chart: {
            type: 'areaspline'
        },
        title: {
            text: 'Weight Growth Chart (Females)'
        },
        legend: {
            layout: 'horizontal',
            align: 'center',
            verticalAlign: 'bottom',
            borderWidth: 1,
            backgroundColor: '#FFFFFF',
            itemStyle: {
                cursor: 'pointer',
                color: '#274b6d',
                fontSize: '12px'
            }
        },
        plotOptions: {
            areaspline: {
                fillOpacity: 0.2
            },
            series: {
                minPointLength: 1,
                shadow: false,
                events: {
                    legendItemClick: function () {
                        if (this.name == 'Percentiles') {
                            toggleBands(chart);
                        }
                    }
                }
            }
        },
        xAxis: {
            title: {
                text: 'Age (months)'
            },
            labels: {
                rotation: -90,
                step: 5
            },
            tickInterval: 5
        },
        yAxis: {
            title: {
                text: 'Weight (pounds)'
            },
            min: 23
        },
        tooltip: {
            shared: true,
            valueSuffix: ' pounds',
            valueDecimals: 2
        },
        credits: {
            enabled: false
        },
        series: [{
            name: '3rd Percentile',
            data: wtage_female_3rd,
            marker: {
                enabled: false
            }
        }, {
            name: '5th Percentile',
            data: wtage_female_5th,
            marker: {
                enabled: false
            }
        }, {
            name: '10th Percentile',
            data: wtage_female_10th,
            marker: {
                enabled: false
            }
        }, {
            name: '25th Percentile',
            data: wtage_female_25th,
            marker: {
                enabled: false
            }
        }, {
            name: '50th Percentile',
            data: wtage_female_50th,
            marker: {
                enabled: false
            }
        }, {
            name: '75th Percentile',
            data: wtage_female_75th,
            marker: {
                enabled: false
            }
        }, {
            name: '90th Percentile',
            data: wtage_female_90th,
            marker: {
                enabled: false
            }
        }, {
            name: '95th Percentile',
            data: wtage_female_95th,
            marker: {
                enabled: false
            }
        }, {
            name: '97th Percentile',
            data: wtage_female_97th,
            marker: {
                enabled: false
            }
        }]
    });
});

function toggleBands(chart) {
    $.each(chart.xAxis, function (index, elX) {
        $.each(elX.plotLinesAndBands, function (index, el) {
            if (el.svgElem !== undefined) {
                el.svgElem[el.visible ? 'show' : 'hide']();
                el.visible = !el.visible;
            }
        });
    });
}

$('.toggle-trigger').click(function () {
    var target = $(this).attr('data-target');

    $('#' + target).slideToggle('slow');

    if ($(this).hasClass('plus')) {
        $(this).addClass('minus').removeClass('plus');
    } else {
        $(this).addClass('plus').removeClass('minus');
    }
});